/*
 * RendreVehicule.h
 *
 *  Created on: 23 mars 2012
 *      Author: root
 */

#ifndef RENDREVEHICULE_H_
#define RENDREVEHICULE_H_
#include<string>
#include<iostream>

using namespace std;

class RendreVehicule {
	private:
	string NumMatricule;
	string EtatVehicule;
	string DateRendu;
	long NumParking;
	string NomAgent;
	long NumAgence;
public:
	RendreVehicule();
	RendreVehicule(string,string,string,long,string,long);
	RendreVehicule(const RendreVehicule& );

	virtual ~RendreVehicule();

	string getNomAgent()const;
	void setNomAgent(string);

	string getNumMatricule()const;
	void setNumMatricule(string);

	long getNumParking()const;
	void setNumParking(long);

	long getNumAgence()const;
	void setNumAgence(long);

	string getEtatVehicule()const;
	void setEtatVehicule(string);

	string getDateRendu()const;
	void setDateRendu(string);

	friend ostream& operator<<(ostream& , const RendreVehicule&);
	friend ifstream& operator>>(ifstream&,RendreVehicule&);
	friend ofstream& operator<<(ofstream&,const RendreVehicule&);
	};
	ofstream& operator<<(ofstream&,const RendreVehicule&);
	ifstream& operator>>(ifstream&,RendreVehicule&);
	ostream& operator<<(ostream& , const RendreVehicule&);
#endif
